package the.workshop.bu.mapper;

import org.apache.ibatis.annotations.Param;
import the.workshop.bu.dto.CustomerMoveStatusDTO;
import the.workshop.bu.dto.CustomerSalesDTO;
import the.workshop.bu.entity.Customer;
import org.wisteria.framework.web.mvc.dao.SuperMapper;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lei.liu
 * @since 2020-06-15
 */
public interface CustomerMapper extends SuperMapper<Customer> {
    void updateSalesId(CustomerSalesDTO dto);

    void updateStatusByCustomerIds(CustomerMoveStatusDTO dto);

    Customer selectByName(@Param("name") String name);
}
